﻿using System;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace ContosoWebParts.HelloPart
{
    [ToolboxItemAttribute(false)]
    public class HelloPart : WebPart
    {
        protected Label outputLabel;
        protected override void CreateChildControls()
        {
            outputLabel = new Label();
            outputLabel.Text = "Hello Web Part";
            Controls.Add(outputLabel);
        }
    }
}
